package com.voltmao.persistent.model;

import org.mybatis.annotation.Field;
import org.mybatis.annotation.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * doc_db
 */
@Table(name="doc_db")
public class DocDb implements Serializable {
    /**
     * dataId
     */
    public static final String DATAID = "dataId";

    /**
     * dataId
     */
    @Field(columnName="data_id", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String dataId;

    /**
     * 档案名称
     */
    public static final String NAME = "name";

    /**
     * 档案名称
     */
    @Field(columnName="name", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String name;

    /**
     * 所属分类
     */
    public static final String FORDOCTYPE = "forDocType";

    /**
     * 所属分类
     */
    @Field(columnName="for_doc_type", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forDocType;

    /**
     * 文件路径
     */
    public static final String FILEURL = "fileUrl";

    /**
     * 文件路径
     */
    @Field(columnName="file_url", jdbcType="VARCHAR", javaType=String.class, length=2000, scale=0)
    private String fileUrl;

    /**
     * 文件类型(存储文档后缀)
     */
    public static final String FILETYPE = "fileType";

    /**
     * 文件类型(存储文档后缀)
     */
    @Field(columnName="file_type", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String fileType;

    /**
     * isDel
     */
    public static final String ISDEL = "isDel";

    /**
     * isDel
     */
    @Field(columnName="is_del", jdbcType="INTEGER", javaType=Integer.class, length=10, scale=0)
    private Integer isDel;

    /**
     * createDate
     */
    public static final String CREATEDATE = "createDate";

    /**
     * createDate
     */
    @Field(columnName="create_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date createDate;

    /**
     * updateDate
     */
    public static final String UPDATEDATE = "updateDate";

    /**
     * updateDate
     */
    @Field(columnName="update_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date updateDate;

    /**
     * 所属创建者
     */
    public static final String FORCORPEMPLOYESUSER = "forCorpEmployesUser";

    /**
     * 所属创建者
     */
    @Field(columnName="for_corp_employes_user", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forCorpEmployesUser;

    /**
     * 档案简介
     */
    public static final String DES = "des";

    /**
     * 档案简介
     */
    @Field(columnName="des", jdbcType="VARCHAR", javaType=String.class, length=2000, scale=0)
    private String des;

    private static final long serialVersionUID = 1L;

    /**
     * @return dataId
     *         dataId
     */
    public String getDataId() {
        return dataId;
    }

    /**
     * @param dataId
     *         dataId
     */
    public void setDataId(String dataId) {
        this.dataId = dataId == null ? null : dataId.trim();
    }

    /**
     * @return name
     *         档案名称
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *         档案名称
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * @return forDocType
     *         所属分类
     */
    public String getForDocType() {
        return forDocType;
    }

    /**
     * @param forDocType
     *         所属分类
     */
    public void setForDocType(String forDocType) {
        this.forDocType = forDocType == null ? null : forDocType.trim();
    }

    /**
     * @return fileUrl
     *         文件路径
     */
    public String getFileUrl() {
        return fileUrl;
    }

    /**
     * @param fileUrl
     *         文件路径
     */
    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl == null ? null : fileUrl.trim();
    }

    /**
     * @return fileType
     *         文件类型(存储文档后缀)
     */
    public String getFileType() {
        return fileType;
    }

    /**
     * @param fileType
     *         文件类型(存储文档后缀)
     */
    public void setFileType(String fileType) {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    /**
     * @return isDel
     *         isDel
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * @param isDel
     *         isDel
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * @return createDate
     *         createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     *         createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return updateDate
     *         updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     *         updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return forCorpEmployesUser
     *         所属创建者
     */
    public String getForCorpEmployesUser() {
        return forCorpEmployesUser;
    }

    /**
     * @param forCorpEmployesUser
     *         所属创建者
     */
    public void setForCorpEmployesUser(String forCorpEmployesUser) {
        this.forCorpEmployesUser = forCorpEmployesUser == null ? null : forCorpEmployesUser.trim();
    }

    /**
     * @return des
     *         档案简介
     */
    public String getDes() {
        return des;
    }

    /**
     * @param des
     *         档案简介
     */
    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }
}